package com.yunfeng.aolin.service;

import java.util.List;

import org.springframework.data.jpa.domain.Specification;

import com.yunfeng.aolin.entity.InquiryMaterials;
import com.yunfeng.common.util.Page;

public interface InquiryMaterialsService {
	InquiryMaterials get(Long id);

	void saveOrUpdate(InquiryMaterials inquiryMaterials);

	void delete(Long id);

	List<InquiryMaterials> findAll();

	List<InquiryMaterials> findAll(Page page);

	List<InquiryMaterials> findByName(Page page, String name);

	List<InquiryMaterials> findByExample(
			Specification<InquiryMaterials> specification, Page page);
}
